<template>
  <div class="Home">
    <div class="Da">
      <div class="content  " :class="showDiv?'slide-upout':'slide-up'">
        <div class="home-title">Bring next level AI innovation to</div>
        <div class="home-title">PoW mining industry</div>
        <div class="home-subheading" style="margin-top: 32px">
          AICMP is the first AI agent that fully manages PoW
        </div>
        <div class="home-subheading">
          mining and utilizes a holistic strategy to maximize
        </div>
        <div class="home-subheading">mining efficiency and long term ROI</div>
        <div class="home-CA">
          CA: BAEXK4X6B3hkqmEkPuyyZQ5fZUb5iZ6SaJ7a9UDnpump
        </div>
        <!-- <div style="display: flex; justify-content: space-between">ca Ba</div> -->
        <div class="home-button">
          <div>Whitepaper</div>
          <div>
            <img
              class="home-icon"
              src="./assets/Icon.png"
              width="17px"
              height="17px"
              alt=""
            />
          </div>
        </div>

        <div class="foot  ">
          <div class="foot-left">
            <div>
              <img src="./assets/Group18.png" alt="" />
            </div>
            <div class="foot-wz">
              Copyright © 2025 aicmp.ai • All Rights Reserved
            </div>
          </div>
          <div >
            <img src="./assets/1.png" alt="" :class="showDiv?'slide-up0out':'slide-up0'" class=" slide-up0"  style="text-align: right;position: absolute;top: -17vh;right: 0px;"/>
          </div>
        </div>
      </div>
    </div>
    <div class="xiao">
      <div class="content" style="margin-top: 13vh">
        <div class="home-title">Bring next level AI </div>
        <div class="home-title">innovation to </div>
        
        <div class="home-title">PoW mining industry</div>
        <div class="home-subheading" style="margin-top: 5vh">
          AICMP <span style="margin-left: 6px"></span> is
          <span style="margin-left: 6px"></span>the first AI agent that fully
          manages
        </div>
        <div class="home-subheading">
          PoW mining and utilizes a holistic strategy to
        </div>
        <div class="home-subheading">
          maximize mining efficiency and long term ROI
        </div>
        <div class="home-CA" style="margin-top: 5vh">
          CA: BAEXK4X6B3hkqmEkPuyyZQ5f <br />ZUb5iZ6SaJ7a9UDnpump
        </div>

        <div class="home-button" style="margin-top: 6vh">
          <div style="padding: 10px 0px">Whitepaper</div>
          <div style="display: flex;">
            <img
              class="home-icon"
              src="./assets/Icon.png"
              width="17px"
              height="17px"
              alt=""
            />
          </div>
        </div>
        <div class="foot slide-up">
       
          <div class="foot-right" style="text-align: right">
            <img
              src="./assets/zu.png"
              alt=""
              class="zu "
              style="width: 180%;"
            />
          </div>
        </div>
      </div>
    </div>
  
  </div>
</template>

<script>
export default{
  data(){
    return{
      showDiv:false
    }
  },
  beforeRouteLeave(to, from, next) {
    this.showDiv = true;
    setTimeout(() => {
      next();
    }, 500); // 等待动画完成后继续导航
  }
}</script>

<style scoped>

.content {
  width: 100%;
  margin: 136px auto;
  text-align: center;
}

.home-title {
  text-align: center;
  font-weight: bold;
  font-size: 66px;

  background: linear-gradient(35.26439014500239deg, #FFFFFF 0%, #FFFFFF 50%, #52525B 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;

  line-height: 100px;
  font-style: normal;
  text-transform: none;
}

.home-subheading {
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 31px;
  text-align: center;
  font-style: normal;
  text-transform: none;
}

.home-CA {
  font-weight: normal;
  font-size: 20px;
  color: #feb90b;
  line-height: 31px;
  margin-top: 20px;
  text-align: center;
  font-style: normal;
  text-transform: none;
}

.home-button {
  width: 100%;
  padding: 7px 33px;
  background: #feb90b;
  box-shadow: 0px 7px 38px 0px rgba(255, 255, 255, 0.41);
  border-radius: 6px 6px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 20px;
  color: #000000;
  line-height: 31px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin: 40px auto 0px;
  box-sizing: border-box;
  width: 200px;
  display: flex;
  align-items: center;
}

.home-icon {
  margin-left: 7px;
}

.foot {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.foot-left {
  display: flex;
  align-items: center;
  position: fixed;

  bottom: 0px;
  left: 60px;
}
.foot-right {
  position: absolute;
  right: 0px;
}

.foot-wz {
  font-weight: 400;
  font-size: 13px;
  color: #999999;
  line-height: 16px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}
</style>
<style scoped>
@media(max-width: 575.98px){
  .content{
    position: relative;
    left: 3vh;
  }
  .Home {
   
    background-image: url("./assets/Frame 1116606611.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    position: absolute !important;
    top: 50px;
    height: 80%;
    left: 0;
    overflow: hidden;
  }
  .home-title {
    line-height:65px;
    font-size: 32px !important;
  }
  .home-button{
    justify-content: center;
    display: flex;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    position: relative !important;
    top: 3px !important;
    /* padding-left: 3px !important; */
    font-size: 14px !important;
  }
.zu{
  width: 100% !important;
  left: 21px !important;
  top: 10px;
  position: relative;
  bottom: 80px;
}
.home-icon{
  margin-top:0.5vh !important;
}
  .home-subheading {
    text-align: center;
    padding: 0 20px;
    font-size: 14px !important;
   
  }
  .home-CA {
    padding: 0 3vh;
    font-size: 14px !important;
  }
}
@media(min-width:576px)and(max-width:767.98px) {
 

  .home-title {
    font-size: 60px !important;
  }
  .home-subheading {
    text-align: center;
    padding: 0 20px;
    font-size: 28px !important;
  }
  .home-CA {
    padding: 0 3vh;
    font-size: 28px !important;
  }
}
@media(min-width:767px) {
  .home-title {
    font-size: 85px !important;
  }
  .Home {
    background-image: url("./assets/Surface Pro 8 - 19 (1).png");
    background-size: 100% 120%;
  
    width: 100%;
    font-size: 70px;
    /* position: absolute !important;
    top: -30vh; */
        height: 80%;
    left: 0;
    z-index: -1;
  }
}

</style>
